package thoven.achievement.net.ideapluginachievement

import com.intellij.openapi.actionSystem.AnAction
import com.intellij.openapi.actionSystem.AnActionEvent
import com.intellij.openapi.ui.Messages

class HelloAction : AnAction() {
    override fun actionPerformed(e: AnActionEvent) {
        val project = e.project ?: return
        val achievementService = AchievementService.getInstance(project)
        val message = achievementService.getAchievementMessage()
        Messages.showInfoMessage(message, "Achievement Plugin")
    }
} 